Skip to content

Birmingham | 26-ITP-May | Toluwalase Tiamiyu | Sprint 1 | Exercises - #1295

Open
TTiamiyu wants to merge 13 commits into
CodeYourFuture:mainfrom
TTiamiyu:data-groups-sprint1
Open

Birmingham | 26-ITP-May | Toluwalase Tiamiyu | Sprint 1 | Exercises#1295
TTiamiyu wants to merge 13 commits into
CodeYourFuture:mainfrom
TTiamiyu:data-groups-sprint1

Conversation

@TTiamiyu

@TTiamiyu TTiamiyu commented Jul 26, 2026

Copy link
Copy Markdown

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

@github-actions

This comment has been minimized.

5 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@TTiamiyu TTiamiyu changed the title Birmingham | ITP MAY 2026 | Toluwalase Tiamiyu | Sprint 1 | Data Group Coursework Birmingham | ITP MAY 2026 | Toluwalase Tiamiyu | Sprint 1 | Coursework Jul 26, 2026
@github-actions

This comment has been minimized.

@TTiamiyu TTiamiyu changed the title Birmingham | ITP MAY 2026 | Toluwalase Tiamiyu | Sprint 1 | Coursework Birmingham | ITP MAY 2026 | Toluwalase Tiamiyu | Sprint 1 | Data groups Jul 26, 2026
@github-actions

This comment has been minimized.

@TTiamiyu TTiamiyu changed the title Birmingham | ITP MAY 2026 | Toluwalase Tiamiyu | Sprint 1 | Data groups Birmingham | 26-ITP-May | Toluwalase Tiamiyu | Sprint 1 | Execises Jul 26, 2026
@github-actions

This comment has been minimized.

@TTiamiyu TTiamiyu added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 26, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 26, 2026
@github-actions

This comment has been minimized.

@TTiamiyu TTiamiyu changed the title Birmingham | 26-ITP-May | Toluwalase Tiamiyu | Sprint 1 | Execises Birmingham | 26-ITP-May | Toluwalase Tiamiyu | Sprint 1 | Exercises Jul 26, 2026
@github-actions

This comment has been minimized.

@TTiamiyu TTiamiyu added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 26, 2026
@cjyuan cjyuan added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 31, 2026
Comment thread Sprint-1/implement/dedupe.test.js Outdated
Comment thread Sprint-1/implement/max.test.js
Comment thread Sprint-1/implement/sum.js Outdated
@@ -1,4 +1,6 @@
function sum(elements) {
const numbers = elements.filter((item) => typeof item === "number");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you expect from the following function calls (on extreme cases)?
Does your function return the value you expected?

sum([NaN, 1]);
sum([Infinity, -Infinity]);

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it wouldn’t return what is expect, i have Incorporated these extreme cases in the test and also improved the sum.js code to cater for such extremes.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jul 31, 2026
@TTiamiyu TTiamiyu added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 2, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. Well done.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Aug 2, 2026
@cjyuan

cjyuan commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Note: You missed a Changelist section in your PR description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants